﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DemoCKEditerUseCKFinder.ascx.cs" Inherits="NLLSite.Administrator.UserControl.DemoCKEditerUseCKFinder" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<script runat="server" language="C#">

	// We are not using a code behind page here just for simplicity in the
	// sample file. In this way we don't have to distribute a compiled DLL for
	// this page. In real cases, the following code will instead be defined in
	// a code behind file.

	protected override void OnLoad( EventArgs e )
	{
		CKFinder.FileBrowser _FileBrowser = new CKFinder.FileBrowser();
		_FileBrowser.BasePath = "../../ckfinder/";
		_FileBrowser.SetupCKEditor( ckeditorDemo );
	}

</script>
<CKEditor:CKEditorControl ID="ckeditorDemo" runat="server" basePath="../../ckeditor/"></CKEditor:CKEditorControl>